.class final Les/c90$b;
.super Landroid/content/BroadcastReceiver;
.source "FileShareServer.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/c90;->a(Ljava/lang/String;)Les/c90;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# direct methods
.method constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string v0, "android.net.conn.CONNECTIVITY_CHANGE"

    .line 2
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 3
    invoke-static {}, Lcom/estrongs/android/util/f0;->d()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 4
    invoke-static {}, Les/c90;->e()V

    goto :goto_0

    .line 5
    :cond_0
    invoke-static {}, Les/c90;->b()V

    goto :goto_0

    :cond_1
    const-string v0, "android.intent.action.SCREEN_OFF"

    .line 6
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 7
    invoke-static {}, Les/c90;->b()V

    goto :goto_0

    :cond_2
    const-string v0, "android.intent.action.SCREEN_ON"

    .line 8
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 9
    invoke-static {}, Lcom/estrongs/android/util/f0;->d()Z

    move-result p1

    if-eqz p1, :cond_4

    .line 10
    invoke-static {}, Les/c90;->e()V

    goto :goto_0

    :cond_3
    const-string v0, "android.net.wifi.WIFI_AP_STATE_CHANGED"

    .line 11
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_4

    const/4 p1, 0x0

    const-string v0, "wifi_state"

    .line 12
    invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    const/16 p2, 0xd

    if-ne p1, p2, :cond_4

    .line 13
    invoke-static {}, Lcom/estrongs/android/util/f0;->d()Z

    move-result p1

    if-eqz p1, :cond_4

    .line 14
    invoke-static {}, Les/c90;->e()V

    :cond_4
    :goto_0
    return-void
.end method
